setDeviceMetricsOverride

fun setDeviceMetricsOverride(input: SetDeviceMetricsOverrideRequest): Single<RequestResponseFrame>

Overrides the values of device screen dimensions (window.screen.width, window.screen.height, window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media query results).

Sources

jvm source
Link copied to clipboard